package com.liuqi.knet.rpc;

import java.util.Map;

/**
 * 远程调用传输对象
 *
 * @author liuqi
 * @date 2025/3/6 15:15
 **/
public interface Invocation {

    /**
     * @return  传输数据
     */
    Object data();

    /**
     * 属性
     */
    Map<String, String> getAttachments();

    String getAttachment(String key);

    String getAttachment(String key, String defaultValue);


}
